﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Liberty.Domain.ApprovalManagement;

namespace Liberty.UI.ApprovalManagement.Controls
{
    public partial class AuditTrailView : AbstractLibertyControl
    {
        protected void Page_Load( object sender, EventArgs e )
        {
            this.gvAuditTrailList.DataSource = this.Events;
            this.gvAuditTrailList.DataBind();
        }

        private List<Event> Events
        {
            get
            {
                return (List<Event>)this.Model;
            }
        }
    }
}